package indi.zhifa.expshare.class001.chemicalmatch.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;

@Data
@ConfigurationProperties(prefix = "openai")
@Configuration
public class OpenAiProperties {
    String secKey;
    String apiUrl;
    Duration timeOut = Duration.ofSeconds(5);
}
